<?php
namespace app\models\request;

use yii\base\Model;

class ReqLogin extends Model
{

    private $username;

    private $password;

    /**
     * @return mixed
     */
    public function getUsername()
    {
        return $this->username;
    }

    /**
     * @param mixed $username
     */
    public function setUsername($username)
    {
        $this->username = $username;
    }

    /**
     * @return mixed
     */
    public function getPassword()
    {
        return $this->password;
    }

    /**
     * @param mixed $password
     */
    public function setPassword($password)
    {
        $this->password = $password;
    }





    public function rules()
    {
        return [
            [['username', 'password'], 'required'],

        ];
    }


}